home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Networking / OTEndpointInfo1.0d1 / OTEndpointInfo-PPC.out < prev    next >
Encoding:
Text File  |  1997-09-02  |  6.2 KB  |  137 lines  |  [TEXT/CWIE]

  1. OTEndpointInfo
  2. -- Prints TEndpointInfo for common endpoint configurations.
  3. -- This is for informational purposes only, don't even think
  4. -- about hard-coding any of these values!  If you need them you
  5. -- should fetch them at run time using OTGetEndpointInfo.
  6.  
  7. TEndpointInfo for “enet”
  8.   addr (max size of address)              = 8
  9.   options (max size of options)           = 0
  10.   tsdu (max size of data unit)            = 1500
  11.   etsdu (max size of expedited data unit) = T_INVALID  (-2)
  12.   connect (max size of connect data)      = T_INVALID  (-2)
  13.   discon (max size of disconnect data)    = T_INVALID  (-2)
  14.   servtype                                = T_CLTS (3)
  15.     (Connectionless, transactionless)
  16.   flags                                   = $10000002
  17.     T_SENDZERO (can send 0 byte units)         = 0
  18.     T_XPG4_1 (supports GetProtAddress)         = 1
  19.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 0
  20.     CAN_SUPPLY_MIB (SNMP)                      = 0
  21.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 1
  22.  
  23. TEndpointInfo for “rawip”
  24.   addr (max size of address)              = 16
  25.   options (max size of options)           = 256
  26.   tsdu (max size of data unit)            = 65536
  27.   etsdu (max size of expedited data unit) = T_INVALID  (-2)
  28.   connect (max size of connect data)      = T_INVALID  (-2)
  29.   discon (max size of disconnect data)    = T_INVALID  (-2)
  30.   servtype                                = T_CLTS (3)
  31.     (Connectionless, transactionless)
  32.   flags                                   = $00000000
  33.     T_SENDZERO (can send 0 byte units)         = 0
  34.     T_XPG4_1 (supports GetProtAddress)         = 0
  35.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 0
  36.     CAN_SUPPLY_MIB (SNMP)                      = 0
  37.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  38.  
  39. TEndpointInfo for “udp”
  40.   addr (max size of address)              = 16
  41.   options (max size of options)           = 512
  42.   tsdu (max size of data unit)            = 65508
  43.   etsdu (max size of expedited data unit) = T_INVALID  (-2)
  44.   connect (max size of connect data)      = T_INVALID  (-2)
  45.   discon (max size of disconnect data)    = T_INVALID  (-2)
  46.   servtype                                = T_CLTS (3)
  47.     (Connectionless, transactionless)
  48.   flags                                   = $40000003
  49.     T_SENDZERO (can send 0 byte units)         = 1
  50.     T_XPG4_1 (supports GetProtAddress)         = 1
  51.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  52.     CAN_SUPPLY_MIB (SNMP)                      = 0
  53.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  54.  
  55. TEndpointInfo for “tcp”
  56.   addr (max size of address)              = 16
  57.   options (max size of options)           = 512
  58.   tsdu (max size of data unit)            = 0
  59.   etsdu (max size of expedited data unit) = T_INFINITE (-1)
  60.   connect (max size of connect data)      = T_INVALID  (-2)
  61.   discon (max size of disconnect data)    = T_INVALID  (-2)
  62.   servtype                                = T_COTS_ORD (2)
  63.     (Connection-oriented, transactionless, orderly release)
  64.   flags                                   = $40000002
  65.     T_SENDZERO (can send 0 byte units)         = 0
  66.     T_XPG4_1 (supports GetProtAddress)         = 1
  67.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  68.     CAN_SUPPLY_MIB (SNMP)                      = 0
  69.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  70.  
  71. TEndpointInfo for “ddp”
  72.   addr (max size of address)              = 113
  73.   options (max size of options)           = 40
  74.   tsdu (max size of data unit)            = 586
  75.   etsdu (max size of expedited data unit) = T_INVALID  (-2)
  76.   connect (max size of connect data)      = T_INVALID  (-2)
  77.   discon (max size of disconnect data)    = T_INVALID  (-2)
  78.   servtype                                = T_CLTS (3)
  79.     (Connectionless, transactionless)
  80.   flags                                   = $70000002
  81.     T_SENDZERO (can send 0 byte units)         = 0
  82.     T_XPG4_1 (supports GetProtAddress)         = 1
  83.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  84.     CAN_SUPPLY_MIB (SNMP)                      = 1
  85.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 1
  86.  
  87. TEndpointInfo for “atp”
  88.   addr (max size of address)              = 113
  89.   options (max size of options)           = 100
  90.   tsdu (max size of data unit)            = 4628
  91.   etsdu (max size of expedited data unit) = 582
  92.   connect (max size of connect data)      = T_INVALID  (-2)
  93.   discon (max size of disconnect data)    = T_INVALID  (-2)
  94.   servtype                                = T_TRANS_CLTS (7)
  95.     (Connectionless, transaction)
  96.   flags                                   = $60000003
  97.     T_SENDZERO (can send 0 byte units)         = 1
  98.     T_XPG4_1 (supports GetProtAddress)         = 1
  99.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  100.     CAN_SUPPLY_MIB (SNMP)                      = 1
  101.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  102.  
  103. TEndpointInfo for “pap”
  104.   addr (max size of address)              = 113
  105.   options (max size of options)           = 332
  106.   tsdu (max size of data unit)            = T_INFINITE (-1)
  107.   etsdu (max size of expedited data unit) = T_INVALID  (-2)
  108.   connect (max size of connect data)      = T_INVALID  (-2)
  109.   discon (max size of disconnect data)    = T_INVALID  (-2)
  110.   servtype                                = T_COTS_ORD (2)
  111.     (Connection-oriented, transactionless, orderly release)
  112.   flags                                   = $60000003
  113.     T_SENDZERO (can send 0 byte units)         = 1
  114.     T_XPG4_1 (supports GetProtAddress)         = 1
  115.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  116.     CAN_SUPPLY_MIB (SNMP)                      = 1
  117.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  118.  
  119. TEndpointInfo for “adsp”
  120.   addr (max size of address)              = 113
  121.   options (max size of options)           = 40
  122.   tsdu (max size of data unit)            = 0
  123.   etsdu (max size of expedited data unit) = 572
  124.   connect (max size of connect data)      = T_INVALID  (-2)
  125.   discon (max size of disconnect data)    = T_INVALID  (-2)
  126.   servtype                                = T_COTS_ORD (2)
  127.     (Connection-oriented, transactionless, orderly release)
  128.   flags                                   = $60000003
  129.     T_SENDZERO (can send 0 byte units)         = 1
  130.     T_XPG4_1 (supports GetProtAddress)         = 1
  131.     CAN_RESOLVE_ADDR (supports ResolveAddress) = 1
  132.     CAN_SUPPLY_MIB (SNMP)                      = 1
  133.     T_CAN_SUPPORT_MDATA (support M_DATA mode)  = 0
  134.  
  135. Success.
  136. Done.  Press command-Q to Quit.
  137.